const routes = [
  // { path: '/', 
  //  redirect: '/index' 
  // },
  {
    path: '/',
    name: 'index',
    component: () => import('@/pages/index/index'),
    meta: {
      title: '首页',
      keepAlive: false
    }
  },
  {
    path: '/index',
    name: 'index',
    component: () => import('@/pages/login/login'),
    meta: {
      title: '登录',
      keepAlive: false
    }
  },
  {
    path: '/index',
    name: 'index',
    component: () => import('@/pages/login/register'),
    meta: {
      title: '注册',
      keepAlive: false
    }
  },
  {
    path: '/index',
    name: 'index',
    component: () => import('@/pages/login/forgetPassword'),
    meta: {
      title: '忘记密码',
      keepAlive: false
    }
  },
]

export default routes;
